package com.itheima;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.bean.Category;
import com.itheima.bean.Params;


import java.util.List;

public interface CategoryService {

    int update(Category category);
    int add(Category category);
    IPage<Category> findPage(Params params);
    int delete(Long id);
    List<Category> findByType(int type);

    List<Category> findfindUserPage();

}


